.chartWrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.chart {
  flex: 1;
  overflow: hidden;
}

.chartLegend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  line-height: 16px;
  user-select: none;
  .legendItem {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .legendItem + .legendItem {
    margin-left: 12px;
  }
  .text {
    margin-left: 6px;
    color: var(--font-invert2);
    white-space: nowrap;
  }
}

.solid {
  display: flex;
  align-items: center;
  width: 16px;
  height: 8px;
  &L,
  &R {
    width: 4px;
    height: 1px;
    background-color: var(--font-a60);
  }
  &M {
    width: 8px;
    height: 8px;
    border: 1px solid var(--font-a60);
    border-radius: 50%;
  }
}
.dashed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 10px;
  height: 8px;
  &L,
  &R {
    width: 2px;
    height: 2px;
    background-color: var(--font-a60);
  }
  &M {
    width: 4px;
    height: 2px;
    background-color: var(--font-a60);
  }
}

.legendItem.unSelect {
  .text {
    color: var(--font-a60);
  }
}
